package com.ss.android.dex.party;

import android.content.Context;

import com.bytedance.article.b.DexDependAdapter;

public class DexDependManager implements DexDependAdapter {
    private DexDependAdapter mDexDependAdapter;
    private static DexDependManager sDexDependManager;

    private DexDependManager() {

    }

    public boolean canUseWeiBoSso() {
        boolean v0 = this.mDexDependAdapter != null ? this.mDexDependAdapter.canUseWeiBoSso() : false;
        return v0;
    }

    public int getWeiBoSSOReqCode() {
        int v0 = this.mDexDependAdapter != null ? this.mDexDependAdapter.getWeiBoSSOReqCode() : 0;
        return v0;
    }

    public void initWeiboSdk(Context arg1, String arg2) {
    }

    public static DexDependManager inst() {
        if (DexDependManager.sDexDependManager == null) {
            Class v1 = DexDependManager.class;
            synchronized (v1) {
                if (DexDependManager.sDexDependManager == null) {
                    DexDependManager.sDexDependManager = new DexDependManager();
                }
            }
        }
        return DexDependManager.sDexDependManager;
    }

    public boolean isNetworkAvailable(Context arg2) {
        boolean v0 = this.mDexDependAdapter != null ? this.mDexDependAdapter.isNetworkAvailable(arg2) : false;
        return v0;
    }

    public void loggerD(String arg2, String arg3) {
        if (this.mDexDependAdapter != null) {
            this.mDexDependAdapter.loggerD(arg2, arg3);
        }
    }

    public boolean loggerDebug() {
        return this.mDexDependAdapter != null && this.mDexDependAdapter.loggerDebug();
    }

    public void monitorSoLoad(String arg2, boolean arg3) {
        if (this.mDexDependAdapter != null) {
            this.mDexDependAdapter.monitorSoLoad(arg2, arg3);
        }
    }

    public void setAdapter(DexDependAdapter arg1) {
        this.mDexDependAdapter = arg1;
    }
}

